package edu.ncst.baseweb.service.impl.web;

import cn.wintersun.basecommon.common.Result;
import edu.ncst.baseweb.dao.web.LabProject;
import edu.ncst.baseweb.mapper.LabProjectMapper;
import edu.ncst.baseweb.service.intrer.web.LabProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LabProjectServiceImpl implements LabProjectService {

    @Autowired
    private LabProjectMapper LabProjectMapper;

    public Result<List<LabProject>> list(){
        List<LabProject> LabProjectList = LabProjectMapper.selectList(null);
        return Result.ok(LabProjectList);
    }

}
